#if defined(__GNUC__)
#define __percpu_data __attribute__((section(".data..percpu")))
#define __percpu_bss  __attribute__((section(".bss..percpu")))
#elif defined(__TASKING__)
#define __percpu_data __attribute__((section(".data..percpu")))
#define __percpu_bss __attribute__((section(".bss..percpu")))
#endif
extern const unsigned long g_per_cpu_ram_base_addr[];
#define this_cpu_var(s) (*(__typeof__(s) *)((unsigned long)&(s) - g_per_cpu_ram_base_addr[0] +  g_per_cpu_ram_base_addr[up_cpu_index()]))

